doRequestRawAsync
fun doRequestRawAsync(client: HttpClient = QQGuildApi.DefaultHttpClient, server: Url, token: String): CompletableFuture<out String>(source)
使用此api发起一次请求,并得到预期中的结果。
为Java服务的异步API,内部使用 CoroutineScope.async 异步执行 doRequest 并返回 CompletableFuture 结果。
See also
Throws
see HttpClient.request, 可能会抛出任何ktor请求过程中的异常。
请求过程中出现了错误。